﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ex1.DefiningAttribute
{
    class VersionsInAction
    {
        [VersionAttribute("1.0")]
        public void SayHello()
        {
            Console.WriteLine("Hello!");
        }

        [VersionAttribute("2.0","This method says goodbye!")]
        public void SayGoodBye()
        {
            Console.WriteLine("Goodbye!");
        }

        private void SayBoo()
        {
            Console.WriteLine("Boo!");
        }
    }
}
